package com.kehutong.repair.enums;

import org.coraframework.util.HashID;

public enum RepairsStatus implements HashID {

    PENDING("1", "待处理"),
    PROCESSING("2", "处理中"),
    EVALUATION("3", "待评价"),
    COMPLETE("4", "已完成"),
    CANCEL("5", "已取消")
    ;

    private final String id;
    private final String desc;

    private RepairsStatus(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }


    @Override
    public String getDesc() {
        return desc;
    }
}
